<?php  if ( ! defined('DIR_ROOT')) exit(NO_SCRIPT_ALLOW_NOTICE);
/**
 * 全局配置文件
 * @var unknown_type
 */
$ck_config['site_domain']       = 'localhost';

$ck_config['base_url']         = 'http://'.$ck_config['site_domain'].'/catking';

$ck_config['time_zone']        = 'Asia/Shanghai'; //时区

$ck_config['prefix']           = 'CK_';

$ck_config['index_page']       = 'index.php';

$ck_config['skin']             = 'defualt';
/*
|--------------------------------------------------------------------------
| URI PROTOCOL
|--------------------------------------------------------------------------
|
| This item determines which server global should be used to retrieve the
| URI string.  The default setting of "AUTO" works for most servers.
| If your links do not seem to work, try one of the other delicious flavors:
|
| 'AUTO'			Default - auto detects
| 'PATH_INFO'		Uses the PATH_INFO
| 'QUERY_STRING'	Uses the QUERY_STRING
| 'REQUEST_URI'		Uses the REQUEST_URI
| 'ORIG_PATH_INFO'	Uses the ORIG_PATH_INFO
|
*/
$ck_config['uri_protocol']      = 'PATH_INFO'; 

$ck_config['enable_query_strings']        = TRUE;

$ck_config['controller_trigger']         = TRUE;

$ck_config['url_suffix']            = '';

$ck_config['permitted_uri_chars']     = '';


/*缓存相关*/
$ck_config['enable_cache']            = TRUE; //
$ck_config['cache_method']            = 'memcache';

$ck_config['enable_hooks']            = TRUE;
$ck_config['enable_ip_filter']        = TRUE;


$ck_config['log_threshold']            = 2; //日志


/*视图模板相关*/
$ck_config['view_dir']                 = '/application/view/';
$ck_config['view_cache_compiled_dir']        = '/_cache/_compiled/';
$ck_config['view_cache_dir']           = '/_cache/';
$ck_config['view_cache_lifetime']      = 300 ; //以秒计


/*END*/